<template>
  <FIModel :title="title" width="500px" v-model="visible" :showFotter="true">
    <div v-loading="loading" :element-loading-text="loadingText"></div>
  </FIModel>
</template>
<script setup lang="ts">
import { reactive, onMounted, ref } from 'vue'
import FIModel from '@/components/FIModel.vue'

const props = defineProps({
  visible: {
    type: Boolean,
    default: false,
  },
  title: {
    type: String,
    default: '提示',
  },
  width: {
    type: String,
    default: '800px',
  },
  tips: {
    type: String,
    default: '加载中...',
  },
})

const loadingText = ref('加载中...')
</script>
